module Dizhen::BaseHelper
=begin
  def nav_menu(text, url, session_name)
    if session[:nav] == session_name
      return link_to(text, url, :class => "now")
    else
      return link_to(text, url)
    end
  end
=end  
  def url_for_area(area_id)
    url_for :controller => 'schools', :action => 'area', :id => area_id
  end
  
  def link_to_group_page(title, group_id)
    link_to title, :controller => '/dizhen/groups', :action => 'show', :id => group_id
  end
end